package com.epalmpay.controller.manage.datareport;

import com.epalmpay.commom.BaseController;
import com.epalmpay.dto.datareport.ManagerWelcomeDataOutDTO;
import com.epalmpay.service.datareport.IManagerStatisticService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by lifayi on 2017/6/14.
 */
@RequestMapping("/manager/statistic")
@RestController
public class ManagerStatisticController  extends BaseController{

    @Autowired
    private IManagerStatisticService managerStatisticService;

    @RequestMapping("/index")
    public ManagerWelcomeDataOutDTO index(@RequestBody Long id) {
        return managerStatisticService.index(id);
    }
}
